package com.koron.common.core.business.common.entity.vo;

public class Constant {
    /**
     * 登录用户在SESSION里的储存KEY
     */
    public static final String USER = "_user";
    // 接口错误说明
    /**
     * 操作成功
     */
    public static final int MESSAGE_INT_SUCCESS = 0;

    /**
     * 未登录
     */
    public static final int MESSAGE_INT_NOLOGIN = 10000;
    /**
     * 无操作权限
     */
    public static final int MESSAGE_INT_NOMODULE = 10001;
    /**
     * 密码错误
     */
    public static final int MESSAGE_INT_PWDERROR = 11002;

    /**
     * 分配100个错误码给文件转换
     */
    public static final int MESSAGE_INT_FILE_TRANSFER_ERROR = 20001;
    /**
     * 分配100个错误码给数据库
     */
    public static final int MESSAGE_DBFAIL = 20101;
    /**
     * 参数验证不通过
     */
    public static final int MESSAGE_VALIDATION_ERROR = 20201;
}
